package com.example.feignserver.hystrix;

import com.example.feignserver.service.EurekaClientService;
import org.springframework.stereotype.Component;

/**
 * @author zhanghaidong
 * @version v1.0
 * @description
 * @date 2019/5/24
 */
@Component
public class EurekaClientHystrixService implements EurekaClientService {

    @Override
    public String hello(String name){
        return "调用eureka-client服务异常:Feign Hystrix 调用"+ name;
    }

    @Override
    public String hello2(String name) {
        return null;
    }
}
